package com.zgjkhis.modules.system.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zgjkhis.annotation.Query;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
* @date 2019-6-4 14:49:34
*/
@Data
@NoArgsConstructor
public class DrugInventoryQueryCriteria {


    @Query
    @ApiModelProperty(value = "盘点单号")
    private String inventoryNo;
    @Query
    @ApiModelProperty(value = "盘点人")
    private String inventoryName;

    @Query
    @ApiModelProperty(value = "订单开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @Query
    @ApiModelProperty(value = "订单结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    @ApiModelProperty(value = "药房id")
    private String pharmacyId;

    @ApiModelProperty(value = "盘点类型")
    private Integer inventoryType;

}
